<template>
  <div class="setting">
    <!-- 自定义 -->
    <div class="s">
      <div class="title">自定义</div>
      <div class="content">
        <div class="item">
          <div>
            <p>自定义首页背景</p>
            <p class="tip">长按恢复默认背景</p>
          </div>
          <img class="more" src="/static/imgs/arrow.png">
        </div>

        <div class="item">
          <p>打开顶部城市天气快捷搜索</p>
          <switch color='#40a7e7'></switch>
        </div>

        <div class="item">
          <p>显示生活指数信息</p>
          <switch color='#40a7e7'></switch>
        </div>

      </div>
      <div class="t">
        <div class="title">小工具</div>
        <div class="content sub">
          <div class="subtitle">NFC</div>
          <div class="item">
            <p>检测是否支持NFC</p>
            <img class="more" src="/static/imgs/arrow.png">
          </div>
        </div>

        <div class="content sub">
          <div class="subtitle">屏幕亮度</div>
          <div class="item">
            <div class="tip">范围0~100，0 最暗，100 最亮</div>
            <div></div>
          </div>
          <div class="item">
            <p>设置屏幕亮度</p>
            <slider min='0' max='100' step='1' block-size='12' block-color='#40a7e7' activeColor='#40a7e7' show-value='true'></slider>
          </div>
        </div>


      </div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  data() {
    return {};
  },
  components: {}
};
</script>

<style lang="scss" scoped>
.setting {
  font-size: 28rpx;
  color: #666;
  padding: 30rpx 40rpx;
  .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100rpx;
  }
  .more {
    width: 32rpx;
    height: 32rpx;
  }
  .s {
    .title {
      font-size: 32rpx;
      color: #40a7e7;
      margin: 26rpx 0;
      .content {
        .item {
        }
      }
    }
  }
}
</style>
